package com.itheima.Demo2.domain;

//人类

public class Person {
    String name;
    String id;
    String gongzi;

    public void work(){

    }

    public Person(String name, String id, String gongzi) {
        this.name = name;
        this.id = id;
        this.gongzi = gongzi;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGongzi() {
        return gongzi;
    }

    public void setGongzi(String gongzi) {
        this.gongzi = gongzi;
    }

    public Person() {
    }
}
